package cn.lijiajia3515.cairo.core.business;

import lombok.Getter;
import lombok.experimental.Accessors;

@Getter
@Accessors(chain = true, fluent = true)
public enum AccountBusiness implements Business {
	/**
	 * 账号被禁用
	 */
	Expired("账号已过期"),

	/**
	 * 账号被禁用
	 */
	Disabled("账号被禁用"),
	/**
	 * Account Locked
	 */
	Locked("账号被冻结"),
	/**
	 * 凭证错误
	 */
	Bad("凭证错误");

	private final String code = "Account".concat(name());
	private final String message;

	AccountBusiness(String message) {

		this.message = message;
	}
}
